home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / multicol.arc / MC.DOC < prev    next >
Text File  |  1988-06-19  |  2KB  |  63 lines

  1.  
  2.         Documentation for program:  mc
  3.  
  4.         Usage:
  5.  
  6.             mc  [-ccolumns] [-hheight] [-ggutter] [-wwidth]
  7.                                     [filespec | aliasspec]...   outfile
  8.  
  9.         Example:
  10.  
  11.             mc  -c2 -h58 -g1 -w80    infile   outfile
  12.  
  13. This program is if you have data that you would like to print 
  14. in a multi-column format.  The code is a port of the UNIX (DECUS)
  15. mc program.  It reserves 30k bytes for a page so that you can have 
  16. up to, for instance, 300 columns by 100 lines.  
  17.  
  18. An help message is available by entering at the DOS prompt:
  19.  
  20.         A>mc
  21.  
  22. The example above would take the file "infile" and produce an "outfile"
  23. containing two columns with one blank (the gutter) between the data 
  24. columns.  58 lines per page. 80 columns per line.  Each input line
  25. would be truncated to 39 characters to fit within the 80 columns.
  26. This is the program default if you simply enter:
  27.  
  28.         a>mc infile outfile
  29.  
  30. You can have multiple input files.  Then each file would be placed in 
  31. a seperate column:
  32.  
  33.         a>mc in1  in2  in3  outfile
  34.  
  35. will produce a three column report.  The files must have an equal number 
  36. of lines, EOF on any file will end the processing.
  37.  
  38.  
  39. Comments:
  40.  
  41.  
  42. The program differs from the UNIX version:
  43.     
  44.     - It is not a filter, it won't accept redirection
  45.     - The important part of the HELP message comes last
  46.     - There is no space between any option and its numeric value.
  47.  
  48. The restriction that the multiple input files must have an equal number
  49. of lines was in the original program.  Since having multiple input files,
  50. is a rather oddball usage, I didn't try to fix it.
  51.  
  52. If you want a screen oriented, multicolumn program, I placed a program
  53. (6MORE) in public domain.  It does not truncate records, but will put 
  54. as many columns on the screen as will fit.  It accepts redirection and 
  55. asks for a keystroke every 24 lines.
  56.  
  57.                                                 Stan Peters
  58.  
  59.  
  60.  
  61.  
  62.  
  63.